package bali;

import java.lang.annotation.Annotation;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.Element;
import java.util.Set;

public class ValidatableProcessor extends SimpleFreemarkerAnnotationProcessor {

	@Override
	protected String getGeneratedName(TypeElement element) {
		return element.getQualifiedName()+"Validation";
	}

	@Override
	protected Class<? extends Annotation> getAnnotationClass() {
		return Validatable.class;
	}

	@Override
	protected Class<? extends Annotation>[] getSiblingAnnotationClasses() {
		return new Class[] { Validation.class };
	}
}
